<template>
<div>

</div>
</template>

<script>
export default {
  name: "IndexPage",
  created() {
    // 判断是否登录
    if (!localStorage.getItem('token')) {
      this.$router.push('/login')
    }
  }
}
</script>

<style scoped>

</style>